
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@page import="com.blockchain.front.servlets.content.bzzx.BzzxList"%>
<%@page import="com.blockchain.front.servlets.content.bzzx.BzzxItem"%>
<%@page import="com.blockchain.front.service.content.entity.QuestionEntity"%>
<%@page import="com.blockchain.common.enums.QuestionType"%>
<html>
<head>
<%
String str = languageDefine.getValue(request, "helpCenter_question");
String _TITLE_ = str + "- "+configureProvider.getProperty(SystemVariable.SITE_NAME);
CURRENT_SUB_CATEGORY = "BZZC";
PC_TITLE_NAME="BZZC";
ContentManage manage = serviceSession.getService(ContentManage.class);
Paging paging = new Paging() {
	
	@Override
	public int getSize() {
		return 8;
	}
	
	@Override
	public int getCurrentPage() {
		return 1;
	}
};

QuestionType qt = QuestionType.valueOf(request.getParameter("id"));
PagingResult<QuestionEntity> ddRecords= manage.search(qt,paging);
%>
<title><%=_TITLE_ %></title>
<%@include file="/WEB-INF/include/meta.jsp"%>
<%@include file="/WEB-INF/include/style.jsp"%>
</head>
<body>
<%@include file="/WEB-INF/include/header.jsp"%>
<div class="autobox">
    <div class="now">
      <a href="/" class="orange"><%=languageDefine.getValue(request, "menu_home")%></a> &gt;<a href="<%=controller.getURI(request, Index.class)%>" class="orange">  </a>
    </div>
    <div class="assets_center clear po_re zin70">
    <%@include file="/WEB-INF/include/bzzx/left.jsp"%>
  <div class="assets_content w900 right bg_w mh1500">
   <h1><%=languageDefine.getValue(request, "helpCenter_question")%></h1>
   <div class="new_list">
    <ul>
    <%{QuestionEntity[] es = ddRecords.getItems();
	if(es!=null&&es.length>0){ for(QuestionEntity s:es){%>
      <li><a href="<%=controller.getPagingItemURI(request, BzzxItem.class,s.id)%>" class="title"><%StringHelper.filterHTML(out,backgroundDataFlag==1?s.question:backgroundDataFlag==2?s.questionEn:s.questionTw);%></a>
      <span class="list_time" style="float: right;"><%=DateParser.format(s.tjsj) %></span>
      </li>
      <%}}}%>
    </ul>
   </div>
  		<%BzzxList.rendPaging(out, ddRecords,controller.getPagingURI(request, BzzxList.class)); %>
  </div>
 </div>
</div>
<%@include file="/WEB-INF/include/footer.jsp"%>
<%@include file="/WEB-INF/include/script.jsp"%>
</body>
</html>	
